namespace SelfManagement.Database.MySql.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class user_infos : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.User", "Identity", c => c.String(maxLength: 100, storeType: "nvarchar"));
            AddColumn("dbo.User", "PersonalInfo", c => c.String(maxLength: 500, storeType: "nvarchar"));
            AddColumn("dbo.User", "Sex", c => c.Int(nullable: false));
        }
        
        public override void Down()
        {
            DropColumn("dbo.User", "Sex");
            DropColumn("dbo.User", "PersonalInfo");
            DropColumn("dbo.User", "Identity");
        }
    }
}
